package com.fsserver.core.mapper;

import com.fsserver.core.entity.Reconciliation;

import java.util.Date;
import java.util.List;

/**
 * Reconciliation Mapper
 *
 * @author fsserver
 */
public interface ReconciliationMapper extends BaseMapper<Reconciliation> {

    /**
     * Get reconciliation by reconciliation number
     *
     * @param reconciliationNo reconciliation number
     * @return reconciliation
     */
    Reconciliation getByReconciliationNo(String reconciliationNo);

    /**
     * List reconciliations by payment type
     *
     * @param paymentType payment type
     * @return reconciliation list
     */
    List<Reconciliation> listByPaymentType(String paymentType);

    /**
     * List reconciliations by date range
     *
     * @param startDate start date
     * @param endDate   end date
     * @return reconciliation list
     */
    List<Reconciliation> listByDateRange(Date startDate, Date endDate);
} 